MPModifyNotification

Adds a simple notification to a kernel notification.

OSStatus MPModifyNotification (
                     MPNotificationID notificationID,
                     MPOpaqueID anID,
                     void * notifyParam1,
                     void * notifyParam2,
                     void * notifyParam3);
notificationID
The ID of the kernel notification you want to add to..

anID
The ID of the simple notification (semaphore, message group, or event group) you want to add to the kernel notification.

notifyParam1
If anID specifies an event group, this parameter should contain the flags to set in the event group when MPCauseNotification is called. If anID specifies a message queue, this parameter should contain the first 32-bits of the message to be sent to the message queue when MPCauseNotification is called.

notifyParam2
If anID specifies a message queue, this parameter should contain the second 32-bits of the message to be sent to the message queue when MPCauseNotification is called. Pass NULL if you don't need this parameter.

notifyParam3
If anID specifies a message queue, this parameter should contain the third 32-bits of the message sent to the message queue when MPCauseNotification is called. Pass NULL if you don't need this parameter.

function result
A result code. See Result Codes for a list of possible values.
DESCRIPTION
You specify the parameters for the simple notifications just as if you were calling the MPSetTimerNotify function.

VERSION NOTES
Introduced with Multiprocessing Services 2.1.

© 1999 Apple Computer, Inc. – (Last Updated 17 Nov 99)